package 循环;

import javax.swing.plaf.synth.SynthSeparatorUI;

public class switchTest {

	public static void main(String[] args) {
			int today=5;
			System.out.println("-----------------分割线---------------");
			switch(today){
		case 1:
			System.out.println("周一");
			break;
		case 2:
			System.out.println("周二");
			break;
		case 3:
			System.out.println("周三");
			break;
		case 4:
			System.out.println("周四");
			break;
		case 5:
			System.out.println("周五");
			break;
		case 6:
			System.out.println("周六");
			break;
		case 7:
			System.out.println("周日");
			break;
		default:
			System.out.println("不存在！");
	   }
  }

}

